<?php

class User extends CActiveRecord
{
    public $id;

    public $username;

    public $password;

    public function tableName()
    {
        return 'users';
    }

    public static function model($className = __CLASS__)
    {
        return parent::model($className);
    }
}